<?php

class Core_Model_DbTable_RemmitancesDetail extends Zend_Db_Table_Abstract {

    protected $_name = 'remmitances_detail';

    public function getByGIID($gi_id) {
        $select = $this->select()
                       ->setIntegrityCheck(false)
                       ->from("$this->_name as rem")
                       ->joinLeft("users as u", "rem.customer = u.id", "fullname")
                       ->where("gi_id = $gi_id");
        return $this->fetchAll($select);
    }
}

?>
